package com.pattern.delegate.adapterpattern;
/*
*稳定的方法不去动，直接继承下来
* */
public class SecretSecurityCardForThirdServce extends SecretSecurityCardServce {

    public ResultMsg loginforQQtoken(String username,String mb){
        return loginForRegist(username,mb);

    }

    public ResultMsg loginforShortmessage(String username,String mb){
        return loginForRegist(username,mb);
    }

    public ResultMsg loginForRegist(String username,String mb){
        super.regist(username,mb);
        return super.login(mb);
    }
}
